/*1. change everything to flex 
2. flex direction column
3. add media direction row  */ 

h1 {
    font-size: clamp(1.8rem, calc(7vw + 1rem), 5rem);
}

body {
    max-width: 1200px;
    margin: auto;
    background-color: grey;
}

.nav-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;

    list-style: none;
    font-size: clamp(0.2rem, calc(1vw + 1rem), 2rem);;
    gap: 1rem;
    padding-left: 0;
}

.nav-list li {
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: auto;
    text-align: center;
}

.mainWrapper {
    background-color: red;
    height: 150vh;
    height: 150dvh;
}

.mainPhoto {
    background-color: aqua;
    width: max-content;
    height: 75%;
    width: 100%;
}

.centerWrapper {
    background-color: aquamarine;
    height: 25%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.centerPortfolio {
    background-color: azure;
    height: 100%;
    width: 100%;
    display: block;
}

.centerAbout {
    background-color: blueviolet;
    height: 100%;
    width: 100%;
    display: block;
}

.footerWrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: blue;
    width: 100%;
}

.footerContact {
    background-color: brown;
    height: 200px;
    width: 100%;
}

.footerCopyright {
    background-color: coral;
    height: 200px;
    width: 100%;
}

.footerSocials {
    background-color: darkcyan;
    height: 200px;
    width: 100%;
}

@media (min-width: 650px) {

    .nav-list {
        flex-direction: row;
    }

     .centerWrapper {
        flex-direction: row;
    }

    .centerWrapper > * {
        width: 50%;
    }

    .footerWrapper {
        flex-direction: row;
    }
    
    .footerWrapper > * {
        width: 33%;
    }
}